﻿/******************************************************************************
 * Copyright (C) 2015  671643387@qq.com
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 *****************************************************************************/

#ifndef GAME_WORLD_WORLDDEFINES_H_
#define GAME_WORLD_WORLDDEFINES_H_

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif

/************************************************************************/
/* 游戏世界数据定义                                                     */
/************************************************************************/

/* 整数配置 */
enum ConfigUInt32Values
{
	CONFIG_UINT32_VALUE_REALM_ID = 0,		        /* 服务器ID */
    CONFIG_UINT32_REALM_ZONE,                       /* 服务器区域 */
	CONFIG_UINT32_VALUE_PLAYER_LIMIT,               /* 游戏世界玩家限制 */
    CONFIG_UINT32_CHARACTERS_CREATING_DISABLED,     /* 角色创建禁止数据 */
    CONFIG_UINT32_MIN_PLAYER_NAME,                  /* 最小角色名长度 */
    CONFIG_UINT32_STRICT_PLAYER_NAMES,              /**/

	CONFIG_UINT32_MAX_PLAYER_LEVEL,                 /* 最大角色等级 */
	CONFIG_UINT32_VALUE_COUNT                       /* 配置总数 */
};

/* 浮点数配置 */
enum ConfigFloatValues
{
	CONFIG_FLOAT_RATE_INSTANCE_RESET_TIME,
	CONFIG_FLOAT_VALUE_COUNT                /* 配置总数 */
};

/* 服务器区域标志 */
enum RealmZone
{
    REALM_ZONE_UNKNOWN = 0,                           // any language
    REALM_ZONE_DEVELOPMENT = 1,                           // any language
    REALM_ZONE_UNITED_STATES = 2,                           // extended-Latin
    REALM_ZONE_OCEANIC = 3,                           // extended-Latin
    REALM_ZONE_LATIN_AMERICA = 4,                           // extended-Latin
    REALM_ZONE_TOURNAMENT_5 = 5,                           // basic-Latin at create, any at login
    REALM_ZONE_KOREA = 6,                           // East-Asian
    REALM_ZONE_TOURNAMENT_7 = 7,                           // basic-Latin at create, any at login
    REALM_ZONE_ENGLISH = 8,                           // extended-Latin
    REALM_ZONE_GERMAN = 9,                           // extended-Latin
    REALM_ZONE_FRENCH = 10,                          // extended-Latin
    REALM_ZONE_SPANISH = 11,                          // extended-Latin
    REALM_ZONE_RUSSIAN = 12,                          // Cyrillic
    REALM_ZONE_TOURNAMENT_13 = 13,                          // basic-Latin at create, any at login
    REALM_ZONE_TAIWAN = 14,                          // East-Asian
    REALM_ZONE_TOURNAMENT_15 = 15,                          // basic-Latin at create, any at login
    REALM_ZONE_CHINA = 16,                        // East-Asian
    REALM_ZONE_CN1 = 17,                          // basic-Latin at create, any at login
    REALM_ZONE_CN2 = 18,                          // basic-Latin at create, any at login
    REALM_ZONE_CN3 = 19,                          // basic-Latin at create, any at login
    REALM_ZONE_CN4 = 20,                          // basic-Latin at create, any at login
    REALM_ZONE_CN5 = 21,                          // basic-Latin at create, any at login
    REALM_ZONE_CN6 = 22,                          // basic-Latin at create, any at login
    REALM_ZONE_CN7 = 23,                          // basic-Latin at create, any at login
    REALM_ZONE_CN8 = 24,                          // basic-Latin at create, any at login
    REALM_ZONE_TOURNAMENT_25 = 25,                          // basic-Latin at create, any at login
    REALM_ZONE_TEST_SERVER = 26,                          // any language
    REALM_ZONE_TOURNAMENT_27 = 27,                          // basic-Latin at create, any at login
    REALM_ZONE_QA_SERVER = 28,                          // any language
    REALM_ZONE_CN9 = 29                           // basic-Latin at create, any at login
};

#endif /* GAME_WORLD_WORLDDEFINES_H_ */
